package com.frank.feign;


import com.frank.dto.InterviewDto;
import com.frank.dto.JsonResult;
import com.frank.dto.QueryPageDto;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "recruit-service")
public interface RecruitFeign {

    @RequestMapping(value = "/recruit/getInterviewList", method = RequestMethod.POST)
    JsonResult<List<InterviewDto>> getInterviewList(@RequestBody QueryPageDto queryPageDto);

}
